An efficient time and space K point-to-point shortest simple paths algorithm
نویسنده
چکیده
We address the problem identifying the K best point-to-point simple paths connecting a given pair of nodes in a directed network with arbitrary lengths. The main result in this paper is the proof that a path tree containing the kth point-to-point shortest simple path can be obtained by using one of the previous (k-1) path trees containing each one of the previous (k-1) best point-to-point shortest simple paths. The proof implies that at most n single-source shortest path computations (re-optimizations) in a network with non-negative length arcs are made in each iteration of the method. In the “optimistic” case, this strategy only needs O(m) time to compute the best “neighbor” associated with a path tree, that is, the second shortest simple path given a shortest simple path. The algorithm runs in O(K max ( , , ) nf n m C ) time and uses O(K+m) space to determine the K point-to-point shortest simple paths in a directed network with n nodes, m arcs and maximum absolute length max C . Here, O( max ( , , ) f n m C ) is the best time needed to determine the shortest simple paths connecting a source node with any other non-source node in a network with non-negative length arcs. We improve required space in Yen’s algorithm by a multiplicative factor of O( 2 n ) for each best solution. Moreover, our algorithm runs in the “optimistic” case in O( max ( , , ) Kf n m C ) time. This affirmation is confirmed by an experimental study where O(K) shortest paths are used to determine the K point-to-point shortest simple paths in two versions of our algorithm.
منابع مشابه
Single-Point Visibility Constraint Minimum Link Paths in Simple Polygons
We address the following problem: Given a simple polygon $P$ with $n$ vertices and two points $s$ and $t$ inside it, find a minimum link path between them such that a given target point $q$ is visible from at least one point on the path. The method is based on partitioning a portion of $P$ into a number of faces of equal link distance from a source point. This partitioning is essentially a shor...
متن کاملAn Optimal Algorithm for L1 Shortest Paths Among Obstacles in the Plane (Draft)
We present an optimal Θ(n log n) algorithm for determining shortest paths according to the L1 (L∞) metric in the presence of disjoint polygonal obstacles in the plane. Our algorithm requires only linear O(n) space to build a planar subdivision (a Shortest Path Map) with respect to a fixed source point such that the length of a shortest path from the source to any query point can be reported in ...
متن کاملShortest Paths in an Arrangement with k Line Orientations
Suppose one has a line arrangement in which many lines are parallel, so that the number of diierent line orientations is k, and one wants to nd a shortest path from one point on a line in the arrangement to another such point. Using known techniques one can nd the shortest path in time and space O(n 2). We present an algorithm that can nd the shortest path in time and space O(n + k 2).
متن کاملEfficient Approximation Algorithms for Point-set Diameter in Higher Dimensions
We study the problem of computing the diameter of a set of $n$ points in $d$-dimensional Euclidean space for a fixed dimension $d$, and propose a new $(1+varepsilon)$-approximation algorithm with $O(n+ 1/varepsilon^{d-1})$ time and $O(n)$ space, where $0 < varepsilonleqslant 1$. We also show that the proposed algorithm can be modified to a $(1+O(varepsilon))$-approximation algorithm with $O(n+...
متن کاملQuery-point visibility constrained shortest paths in simple polygons
In this paper, we study the problem of finding the shortest path between two points inside a simple polygon such that there is at least one point on the path fromwhich a query point is visible. We provide an algorithmwhich preprocesses the input in O(n2+nK ) time and space and provides logarithmic query time. The input polygon has n vertices and K is a parameter dependent on the input polygon w...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Applied Mathematics and Computation
دوره 218 شماره
صفحات -
تاریخ انتشار 2012